﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleHerencia
{
    class cilindro : circulo
    {
        double altura;
        public cilindro(double radio, double altura)
            : base()
        {
            this.altura = altura;
        }

        public cilindro()
        {
            // TODO: Complete member initialization
        }
        public override double Area()
        {
            return PI * radio * radio * altura;
        }
    }
}
